﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;
using Peak.Core;
using Peak.Web.Controllers.Providers;

namespace Peak.Web.Controllers.Services
{
  public interface IMembershipService
  {
    int MinPasswordLength { get; }

    bool ValidateUser(string userName, string password);
    CreateUserStatus CreateUser(string userName, string password, string email);
    bool ChangePassword(string userName, string oldPassword, string newPassword);
    User User { get; }    
  }
}